Previous topicNext topic
Help > Keyword Reference >
MENU ATTACH statement

Purpose

Attach a menu to a given dialog.

Syntax

MENU ATTACH hMenu, hDlg

Remarks

Attaches a menu to a dialog, replacing any existing menu. The dialog is redrawn to accommodate the new menu.

hMenu

Handle of the menu to be attached.

hDlg

Handle of the dialog which holds the menu.

See also

Dynamic Dialog Tools, ACCEL ATTACH, Menus, MENU ADD POPUP, MENU ADD STRING, MENU DELETE, MENU DRAW BAR, MENU GET STATE, MENU GET TEXT, MENU NEW BAR, MENU NEW POPUP, MENU SET STATE, MENU SET TEXT

Example

See Menu Example.